home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PsL Monthly 1993 December
/
PSL Monthly Shareware CD-ROM (December 1993).iso
/
prgmming
/
dos
/
pascal
/
map2use.exe
/
MAP2USES.DOC
< prev
next >
Wrap
Text File
|
1992-02-16
|
1KB
|
31 lines
MAP2USES is a simple utility that reads a .MAP file and extracts
a program's Uses list from it. This is written to a file with the
extension .USE. The order of the list is the reverse of that in
the .MAP file. An attempt is made to mix upper and lower case
letters in the unit names.
The main value of the utility is that it catches all of the unit
names and includes them in a list of units to be overlaid. Those
units you do not wish to overlay are included as constants in
Map2Uses itself. The overlay list contains all of the unit names.
Those not to be overlaid are "commented out", so that you may
tweak and tune as needed.
This utility has proven very usesful in maintaining a program
with over 200 units. Memory is very tight, and with new units
being added all the time, forgetting to overlay even one can
cause problems.
SPECIAL NOTE TO THE TURBOPOWER GUYS.
Please include any of your library units that must not be
overlaid in the appropriate places, around line 60. If you see
anything really bad in the code, I would appreciate you leeting
me know.
This utility is not elegant, but it works for me. PSA cannot
handle my big program, but Map2Uses solves one of my main
problems.
Jim Welsh
Cis 76367,512